package com.atguigu.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 张三禾
 * @create 2023-02-23 15:57
 * 用户服务的启动类
 */
//扫描数据库mapper文件的位置
@MapperScan(basePackages = "com.atguigu.user.mapper")
@SpringBootApplication
public class UserApplication {
    public static void main(String[] args) {
        //该方法会用内置服务器软件启动当前服务jar包
        SpringApplication.run(UserApplication.class,args);
    }

}
